package com.xjrsoft.module.customerTwo.ycode.t_ycode_master_data_standard_detail.service;

import com.xjrsoft.module.customerTwo.ycode.t_ycode_master_data_standard_detail.entity.TYcodeMasterDataStandardDetail;
import com.xjrsoft.module.customerTwo.ycode.t_ycode_master_data_standard_detail.entity.TYcodeMasterDataStandardDetailEnum;
import com.xjrsoft.module.customerTwo.ycode.t_ycode_master_data_standard_detail.dto.TYcodeMasterDataStandardDetailListDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xjrsoft.common.page.PageOutput;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *  服务类
 *
 * @author dongxinhang
 * @since 2024-07-17
 */
public interface ITYcodeMasterDataStandardDetailService extends IService<TYcodeMasterDataStandardDetail> {
	/**
	 * 自定义分页
	 *
	 * @param pageListDto
	 * @return
	 */
	IPage<TYcodeMasterDataStandardDetail> getPageList(TYcodeMasterDataStandardDetailListDto pageListDto);

	List<TYcodeMasterDataStandardDetailEnum> getTYcodeMasterDataStandardDetailEnumByParentId(String parentId);
	boolean addTYcodeMasterDataStandardDetail(TYcodeMasterDataStandardDetail tYcodeMasterDataStandardDetail, List<TYcodeMasterDataStandardDetailEnum> tYcodeMasterDataStandardDetailEnumList);

	boolean updateTYcodeMasterDataStandardDetail(String id, TYcodeMasterDataStandardDetail tYcodeMasterDataStandardDetail, List<TYcodeMasterDataStandardDetailEnum> tYcodeMasterDataStandardDetailEnumList);

	boolean delete(String ids);

	List<TYcodeMasterDataStandardDetail> getDetailListBystandardId(String standard_id);
}
